package co.yixiang.yshop.module.crm.controller.admin.crmworkwxconfig.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import co.yixiang.yshop.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static co.yixiang.yshop.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 企业微信配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CrmWorkWxConfigPageReqVO extends PageParam {

    @Schema(description = "企业名称", example = "赵六")
    private String corpName;

    @Schema(description = "企业ID", example = "4483")
    private String corpId;

    @Schema(description = "通讯录secret")
    private String contactsSecret;

    @Schema(description = "客户secret")
    private String customersecret;

    @Schema(description = "客户回调URL", example = "https://www.yixiang.co")
    private String customerReturnUrl;

    @Schema(description = "客户回调token")
    private String customerReturnToken;

    @Schema(description = "客户asekey")
    private String customerEncodingAsekey;

    @Schema(description = "自建应用agent_id", example = "19839")
    private String agentId;

    @Schema(description = "自建应用secret")
    private String secret;

    @Schema(description = "归属部门ID", example = "26903")
    private Long deptId;

    @Schema(description = "添加时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}